package main

import (
	"net/http"
	"os"
)

func main() {
	http.HandleFunc("/env", envFun)
	http.ListenAndServe(":5500", nil)
}

func envFun(w http.ResponseWriter, req *http.Request) {

	hostIP := os.Getenv("MY_HOST_IP")
	w.Write([]byte(hostIP))
}
